﻿using System;
using System.Collections.Generic;
namespace Bango.WindowsPhone8.SDK
{
	public class BangoConstants
	{
		internal const System.Int32 SDK_TYPE = 11;
		internal const System.String SDK_VERSION = "1.0.0";

		internal const System.String POST_RESPONSE_SUCCESS = "OK";

		internal const System.String ERROR_TAG = "BANGO_INAPP_ANALYTICS";

		internal const System.String VIDEO_PARAMETERNAME = "BGO_VIDEOTYPE";
		internal const System.String VIDEO_LIVEPARAMETER = "LIVE";
		internal const System.String VIDEO_ONDEMANDPARAMETER = "ONDEMAND";

		internal const System.Int64 POSTDELAY_SESSIONEND = 10000L;
	 
		internal const System.String WIFI_CONNECTION = "WIFI";
		internal const System.String OPERATOR_CONNECTION = "OPERATOR";
		internal const System.String UNKNOWN_CONNECTION = "OTHER";

		internal const System.String UNKNOWN_VERSION = "Unknown";
		internal const System.String ERROR_VERSION = "Unknown_Error";

		internal const System.String UNKNOWN_USERID = "Unknown";
		internal const System.String ERROR_USERID = "Unknown_Error";

		internal const System.String LOCATION_CELL = "CELL";
		internal const System.String LOCATION_GPS = "GPS";

		internal const System.Int32 ERROR_NONE = 0;
		internal const System.Int32 ERROR_USER = 1;
		internal const System.Int32 ERROR_INTERNAL_CRITICAL = -1;
		internal const System.Int32 ERROR_INTERNAL_WARNING = -2;

		internal const System.String SETTING_POST_URL = "https://bango.net/AppAnalytics/";
		internal const System.Boolean SETTING_USEOFFLINESTORAGE = true;
		internal const System.Boolean SETTING_LOGEVENTS = true;
		internal const System.Int32 SETTING_SESSION_RESUME_PERIOD = 10;
		internal const System.Boolean SETTING_LOCATION_FIND = true;
		internal const System.Int32 SETTING_MAXIMUM_EVENTS_PER_PROFILE = 50;
		internal const System.Int32 SETTING_LOGGING_LEVEL = (int)BangoLoggingLevel.BangoLoggingLevelEnum.ALL;
        internal const String SETTING_IDENTIFIER_URL = "https://bango.net/idxml/userIdentification.aspx?bango={0}&appUserId={1}";
		internal const Boolean SETTING_IDENTIFY_BANGO_USER = true;
		//2592000000 == 30 days in milliseconds
		internal const long SETTING_BANGOUSERID_EXPIRY_MILLISECONDS = 2592000000;
		
		internal const System.String DATETIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.fff";

		internal const System.String DATABASE_NAME = "BangoStorage.sdf";
		internal const System.String DATABASE_CONNECTION_STRING = "Data Source=isostore:/" + DATABASE_NAME;
   
		//Hard coded values that cant be got from SDK
		internal const System.String HARD_CODED_SIM_OPERATOR = "";
		internal const System.String HARD_CODED_DEVICE_BUILD_BRAND = "";
		internal const System.String HARD_CODED_DEVICE_BUILD_PRODUCT = "";
		internal const System.Int32 HARD_CODED_NETWORK_TYPE = 0;		

	}
}
